TArray.IndexOf<T>(T[],T) Method

Searches for the specified element and returns the index of the first occurrence within the entire array.

Namespace: Spring
public
 class function IndexOf<T>(const values: array of T;
 const item: T): Integer; overload; static;

Type Parameters

T

Parameters

values
Type: array of T

item
Type: T

Return Value

Type: Integer